package com.example.bookmanage.service;

import com.example.bookmanage.domain.borrow.vo.BorrowVO;
import com.example.bookmanage.domain.reader.Reader;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.bookmanage.domain.reader.dto.ReaderDTO;
import com.example.bookmanage.domain.reader.dto.ReaderEditDTO;
import com.example.bookmanage.domain.reader.dto.ReaderQueDTO;
import com.example.bookmanage.domain.reader.dto.ReaderUpStatusDTO;
import com.example.bookmanage.domain.reader.vo.ReaderVO;

import java.util.List;

/**
* @author lyk19
* @description 针对表【reader_db】的数据库操作Service
* @createDate 2025-02-01 20:59:02
*/
public interface ReaderService {

    List<ReaderVO> list(ReaderQueDTO readerQueDTO);

    int save(ReaderDTO readerDTO);

    int update(ReaderEditDTO readerEditDTO);

    int updateStatus(ReaderUpStatusDTO readerUpStatusDTO);

    List<BorrowVO> getBorrowRecords(Long readerId);
}
